﻿using Abp.Runtime.Validation;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace NetCore.Needs.Dtos
{
    public class PopulateAttachementInputDto : ICustomValidate
    {

        ///// <summary>
        /// 需求Id
        /// </summary>
        [Required, Description("需求Id")]
        public long NeedId { get; set; }
        /// <summary>
        /// 是否允许删除
        /// </summary>
        [Description("是否允许删除")]
        public bool AllowDelete { get; set; }

        public void AddValidationErrors(CustomValidationContext context)
        {
        }
    }
}
